package com.aerfafish.spider.neo4j.dao;

import lombok.Data;
import org.neo4j.ogm.annotation.*;

@RelationshipEntity(type = "FUND_VALUE")
@Data
public class FundValue {

    @Id
    Long id;

    @StartNode
    Fund fund;

    @EndNode
    Date date;

    // 单位净值
    @Property
    Float averageValue;

    // 累计净值
    @Property
    Float accumulatedValue;

    // 日增长率 带单位%
    @Property
    Float dailyGrowthRate;

    // 申购状态
    @Property
    String subscriptionStatus;

    // 赎回状态
    @Property
    String redemptionStatus;
}
